//
//  ZBModelPopview.h
//  YouHui
//
//  Created by  on 11-12-7.
//  Copyright (c) 2011年 netease. All rights reserved.
//

#import <UIKit/UIKit.h>

@class ZBModelPopview;

@protocol ZBPopviewDelegate<NSObject>
@optional
-(void)zbPopView:(ZBModelPopview*)popView dismissedWithButtonIndex:(NSUInteger)index;
@end

@interface ZBModelPopview : UIView {
    UIView *_contentView;
    id _delegate;
    UIColor *_borderColor;
    CGFloat _borderWidth;
}
@property(nonatomic,assign) UIView *contentView;
@property(nonatomic,assign) id delegate;
@property(nonatomic,retain) UIColor *borderColor;
@property(nonatomic) CGFloat borderWidth;

-(void)show;
-(void)dismissWithButtonIndex:(NSUInteger)index;
@end
